# XShm is only used by ximage and xvimage
# FIXME: Need to check for XShmAttach inside libXext
xshm_dep = dependency('xext', required : get_option('xshm'))
xi_dep = dependency('xi', required : get_option('xi'))
core_conf.set('HAVE_XSHM', xshm_dep.found())
core_conf.set('HAVE_XI2', xi_dep.found())

subdir('ximage')
subdir('xvimage')
